package com.tjcd.project.library_base.base.network;

import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestServer;
import com.hjq.http.model.RequestBodyType;
import com.tjcd.project.library_base.common.basicInfor.SugarUrls;

import io.reactivex.annotations.NonNull;

/**
 * @Author jiangKunKun
 * @CreateDate 2022/7/27
 * @Description
 * @SpittingGrooves
 */
public class RequestServer implements IRequestServer {
    @NonNull
    @Override
    public String getHost() {
        return SugarUrls.baseUrl;
    }

    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }
}
